import request from "@/utils/request";

// 获取车型信息
export function getTruckTypeInfoApi(params) {
  return request({
    method: "GET",
    url: "/truckType/page",
    params,
  });
}
// 获取车辆信息
export function getTruckListInfoApi(params) {
  return request({
    method: "GET",
    url: "/truck/page",
    params,
  });
}
// 获取车辆状态
export function getTruckStatusApi() {
  return request({
    method: "GET",
    url: "/count",
  });
}
// 获取回车登记列表
export function getTransitTruckListApi(data) {
  return request({
    method: "POST",
    url: "/truck-return-register/pageQuery",
    data,
  });
}
